package com.example.demo.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Address;
import com.example.demo.entity.params.AddressCreateParam;
import com.example.demo.entity.params.AddressUpdateParam;
import com.example.demo.entity.vo.AddressVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IAddressService extends IService<Address> {

    List<AddressVo> select(HttpServletRequest request);

    int create(HttpServletRequest request, AddressCreateParam addressCreateParam);

    int update(AddressUpdateParam addressUpdateParam);

    int delete(Long addressId);
}
